package com.dyw.blog.service;

import com.dyw.blog.vo.Result;
import com.dyw.blog.vo.params.RegisterParam;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author Devil
 * @create 2022-02-11 16:25
 */
@Transactional //事务的注解
public interface RegisterService {
    /**
     * 用户注册
     * @param registerParam
     * @return
     */
    Result register(RegisterParam registerParam);
}
